Your application can retrieve information about the capabilities and current status of a video digitizer component. You call the VDGetDigitizerInfo function, described on VDGetDigitizerInfo , to retrieve all this information from a video digitizer component. In response, the component formats a digitizer information structure. The contents of this structure fully define the capabilities and current status of the video digitizer component.
If you are interested only in the current status information, you can call the VDGetCurrentFlags function, which is described on VDGetCurrentFlags . This function returns the input and output current flags of the video digitizer component.
The DigitizerInfo data type defines the layout of the digitizer information structure.
struct DigitizerInfo {
short vdigType; /* type of digitizer component */
long inputCapabilityFlags; /* input video signal features */
long outputCapabilityFlags; /* output digitized video data
features of digitizer component */
long inputCurrentFlags; /* status of input video signal */
long outputCurrentFlags; /* status of output digitized
video information */
short slot; /* for connection purposes */
GDHandle gdh; /* for digitizers with preferred
screen */
GDHandle maskgdh; /* for digitizers with mask planes */
short minDestHeight; /* smallest resizable height */
short minDestWidth; /* smallest resizable width */
short maxDestHeight; /* largest resizable height */
short maxDestWidth; /* largest resizable width */
short blendLevels; /* number of blend levels supported
(2 if 1-bit mask) */
long private; /* reserved--set to 0 */
};
typedef struct DigitizerInfo DigitizerInfo;